package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.DutyArrangementDTO;
import com.neusoft.neuiotms.dcom.dto.DutyArrangementGroupDTO;

public interface DutyArrangementService {

    List<DutyArrangementDTO> index(Searchable searchable);

    Page<DutyArrangementDTO> search(Pageable pageable, Searchable searchable);

    DutyArrangementDTO create(DutyArrangementDTO dto);

    DutyArrangementDTO update(Long id, DutyArrangementDTO dto);

    DutyArrangementDTO update(Long id, List<DutyArrangementGroupDTO> dtos);

    DutyArrangementDTO details(Long id);

    void delete(Long id);

}
